Skip to content

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Jan 3, 2021

This PR hopes to eliminate some of the surprising elements I encountered while reading the function.

  • macros_only is checked against inside the loop body, but if it is true, the loop is skipped anyway
  • only query span when relevant
  • no need to allocate attribute vector

@rust-highfive
Copy link
Contributor

r? @varkor

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 3, 2021
@petrochenkov
Copy link
Contributor

r? @petrochenkov @bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jan 3, 2021

📌 Commit 4d3227f has been approved by petrochenkov

@rust-highfive rust-highfive assigned petrochenkov and unassigned varkor Jan 3, 2021
@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 3, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 3, 2021
…laumeGomez

Rollup of 5 pull requests

Successful merges:

 - rust-lang#80580 (Add suggestion for "ignore" doc code block)
 - rust-lang#80591 (remove allow(incomplete_features) from std)
 - rust-lang#80617 (Detect invalid rustdoc test commands)
 - rust-lang#80628 (reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats))
 - rust-lang#80646 (Clean up in `each_child_of_item`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 539c435 into rust-lang:master Jan 3, 2021
@rustbot rustbot added this to the 1.51.0 milestone Jan 3, 2021
@bugadani bugadani deleted the meta branch January 3, 2021 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants